package cn.jeefast.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * SecurityProperties
 *
 * @author WY
 * @date 2018-04-27 0027
 */
@Component
@PropertySource("classpath:config/alipay.properties")
@ConfigurationProperties(prefix = "alipay")
public class MyProperties {

    private AlipayConfig alipayconfig = new AlipayConfig();

    public AlipayConfig getAlipayconfig() {
        return alipayconfig;
    }

    public void setAlipayconfig(AlipayConfig alipayconfig) {
        this.alipayconfig = alipayconfig;
    }
}